﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entity
{
    /// <summary>
    /// 树型结构接口
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface ITreeStructure<T>
    {
        /// <summary>
        /// 子对象列表
        /// </summary>
        List<T> Children { get; set; }
        /// <summary>
        /// 父对象
        /// </summary>
        T Parent { get; set; }
    }
}
